package com.lnsf.bookstore.web.orderDetail.vo;

import com.lnsf.bookstore.system.book.vo.Book;
import com.lnsf.bookstore.web.book.vo.ApiBook;

import java.io.Serializable;
import java.math.BigDecimal;

public class ApiOrderDetail implements Serializable {
    private Integer id;

    private Integer orderId;

    private Integer bookId;

    private BigDecimal salePrice;

    private BigDecimal dealPrice;

    private Integer quantity;

    private BigDecimal amount;

    private ApiBook apiBook;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    public Integer getBookId() {
        return bookId;
    }

    public void setBookId(Integer bookId) {
        this.bookId = bookId;
    }

    public BigDecimal getSalePrice() {
        return salePrice;
    }

    public void setSalePrice(BigDecimal salePrice) {
        this.salePrice = salePrice;
    }

    public BigDecimal getDealPrice() {
        return dealPrice;
    }

    public void setDealPrice(BigDecimal dealPrice) {
        this.dealPrice = dealPrice;
    }

    public Integer getQuantity() {
        return quantity;
    }

    public void setQuantity(Integer quantity) {
        this.quantity = quantity;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public ApiBook getApiBook() {
        return apiBook;
    }

    public void setApiBook(ApiBook apiBook) {
        this.apiBook = apiBook;
    }
}